import request from "@/utils/service"

// 获取营业状态
export const getShopStatusAPI = () => {
  return request.get<any, any>("/shop/status")
}

// 设置店铺状态
export const setShopStatusAPI = (value: number) => {
  return request.put<any, any>(`/shop/status/${value}`)
}
